package com.zhouyu.lifeCycle;

import com.zhouyu.service.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.EnableScheduling;

import javax.crypto.interfaces.PBEKey;

/**
 * 测试循环依赖
 */
@ComponentScan("com.zhouyu.lifeCycle")
@PropertySource("classpath:spring.properties")
public class LifeCycleAppConfig {


	@Bean
	public User getUser(){
		return new User();
	}
}

